//
//  AWTheme.h
//  changeShin
//
//  Created by Alan Wang on 2019/3/25.
//  Copyright © 2019 Alan Wang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#define AWweakify(var) __weak typeof(var) AHKWeak_##var = var;
#define AWstrongify(var) \
_Pragma("clang diagnostic push") \
_Pragma("clang diagnostic ignored \"-Wshadow\"") \
__strong typeof(var) var = AHKWeak_##var; \
_Pragma("clang diagnostic pop")


#define AWThemeSkinChangeNotification  @"com.alanwang.notification.skinChange"

typedef void (^themeSkinBlock)(void);


NS_ASSUME_NONNULL_BEGIN

@interface AWTheme : NSObject
@property(nonatomic,strong,readonly) NSMutableDictionary * blockDataDict;
@end

NS_ASSUME_NONNULL_END
